package practice.practice_0830;
public class Trade {//交易类
    public static void main(String[] args) {
        BankNewUser bnu=new BankNewUser();
        //欢迎用户
        bnu.welcome();
        //开户
        bnu.openAccounts("小梦","123456",100);
        //存款
        bnu.deposit(500);
        //取款
        bnu.withdraw("12345",200);//模拟密码错误
        bnu.withdraw("123456",600);//模拟账户余额不足
        bnu.withdraw("123456",200);
        //欢送用户
       bnu.seeOff();
    }
}
